package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysConstructionProjectVideoRowMapper implements RowMapper<SysConstructionProjectVideo>{



	@Override
	public SysConstructionProjectVideo mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysConstructionProjectVideo  lj= new SysConstructionProjectVideo();
		lj.setId(rs.getInt("id"));
		lj.setNumber(rs.getString("number"));
		lj.setDevice_id(rs.getString("device_id"));
		lj.setChannel_name(rs.getString("channel_name"));
		lj.setLng(rs.getString("lng"));
		lj.setLat(rs.getString("lat"));
		lj.setProject_name(rs.getString("project_name"));
		return lj;
	}

}
